﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DisplayBoardInfo.Network.Messages.Content
{
    [Serializable]
    public struct User
    {
        private string username, name, lastname, password, role;
        //private byte[] photo;

        //public byte[] Photo
        //{
        //    get { return photo; }
        //    set { photo = value; }
        //}

        private System.Drawing.Image photo;

        public System.Drawing.Image Photo
        {
            get { return photo; }
            set { photo = value; }
        }

        public string Role
        {
            get { return role; }
            set { role = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string Lastname
        {
            get { return lastname; }
            set { lastname = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Username
        {
            get { return username; }
            set { username = value; }
        }
    }
}
